package com.guguskins.back.mapper;

import com.guguskins.back.entity.GuMarket;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.guguskins.back.entity.vo.MarketVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author mybatis-plus
 * @since 2021-07-02
 */
@Repository
public interface GuMarketMapper extends BaseMapper<GuMarket> {
    List<MarketVo> findAllPage(@Param("pageNum") Integer pageNum, @Param("pageSize") Integer pageSize);
    Long findAllCount();

}
